home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1994 January / PSL Monthly Shareware CD-ROM (Public Software Library) (January 1994).iso / games / dos / misc / monster.com / README < prev    next >
Encoding:
Text File  |  1990-05-02  |  3.1 KB  |  82 lines

  1.  
  2.     The Cookie Monster
  3.     ------------------
  4.  
  5. Back in the old days, there was a famous program known as the "cookie
  6. monster."  This program would sit quietly inside a computer until a
  7. specified time, when it would clear the screen, print this message:
  8.  
  9.     Give me a cookie!
  10.  
  11. and lock the system until the user typed "cookie".  The cookie monster
  12. has now been given the power of speech.
  13.  
  14. To run the cookie monster, simply type "monster".  The cookie monster is
  15. a memory resident program, occupying about 5K.    The cookie monster waits
  16. until a timer runs out, then interrupts the current program and asks for a
  17. cookie.  The user must type the word "cookie" to continue.
  18.  
  19. This pre-release version watches the DOS idle interrupt, int 28h.  This means
  20. that the cookie monster only wakes up when DOS is issuing int 28h's.  Many
  21. programs sit around waiting for input using the BIOS keyboard interrupt,
  22. and therefore int 28h never happens.  A future version of this program
  23. will have more robust pop-up code, enabling it to interrupt a wider variety
  24. of programs.
  25.  
  26. File        Description
  27. ----        -----------
  28. readme        this file
  29.  
  30. monster.exe    the cookie monster executable
  31. monster.asm    cookie monster main program source
  32. monvoice.asm    speech data (cookie and yum) in .asm format
  33.  
  34. cookie        various speech data in binary format
  35. yum
  36. yum2
  37. munch
  38. burp
  39. thanks
  40. play.exe    program to play one of the above files
  41. form.exe    program to put speech data into .asm format
  42.  
  43. voice.doc    document by Alan Jones describing the digitization process
  44.  
  45. Notes on the cookie monster source code
  46. ---------------------------------------
  47.  
  48. To create monster.exe, do this:
  49.  
  50.     masm monster;
  51.     masm monvoice;
  52.     link monster monvoice;
  53.  
  54. The length of the fuse is controlled by an equate near the beginning of
  55. monster.asm called 'fuselen'.  On an 8 MHz PC, each increment of the fuse
  56. corresponds to about 90 seconds of DOS idle time.  The default setting is
  57. 20, which means about 30 minutes.  This may be too small for faster machines.
  58. Note that the first wakeup happens after only one tick of the fuse.
  59.  
  60. Alternate monvoice.asm files may be constructed.  Several files containing
  61. appropriate messages have been included.  To create a new monvoice.asm
  62. file, run the speech data through form.exe like this:
  63.  
  64.     form burp > burp.asm
  65.  
  66. and edit the resulting file to include the header and trailer information
  67. present in monvoice.asm.  You also have to give the data a name, the default is
  68. "speech".  Note that the current cookie monster needs two messages, Giveme and
  69. Yum, and the "cookie" file is the only one included that is really suitable for
  70. the Giveme role.  All the others are Yum messages.  I will take requests,
  71. if you need a "Give me a quarter!" or "What's the password?" message.
  72.  
  73. This cookie monster was written by Tom Holroyd (CompuServe id [74017,3112]).
  74. The speech digitization hardware and software were designed by Alan Jones,
  75. and the hardware was constructed by Mark Todorovich.
  76.  
  77.  
  78.  
  79. Distributed by Public (software) Library.
  80. For a catalog of more than 2000 disks of pd/shareware, call 1-800-2424-PSL
  81. or write Public (software) Library, P.O.Box 35705, Houston, TX 77235-5705.
  82.